package Scene1;

import Picture.GameImage;

import java.awt.image.BufferedImage;
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;

public class Scene1 {
    public Map<String,BufferedImage> map = new HashMap<>();
    Stack<BufferedImage> stackPic = new Stack<>();
    Stack<BufferedImage> stackFont = new Stack<>();
    public Scene1(){
        for (int i = 22; i >1; i--) {
            if(i==18){
                stackFont.push(GameImage.get("/Picture/Scene1/n18.png"));
                continue;
            }
            if(i==19){
                continue;
            }
            if(i==8){
                stackFont.push(GameImage.get("/Picture/Scene1/n8.png"));
                continue;
            }
            if(i==9){
                continue;
            }
            if(i==10)
                continue;
            if(i==3){
                stackFont.push(GameImage.get("/Picture/Scene1/3.png"));
                continue;
            }
            if(i==4){
                stackFont.push(GameImage.get("/Picture/Scene1/6.png"));
                stackFont.push(GameImage.get("/Picture/Scene1/5.png"));
                stackFont.push(GameImage.get("/Picture/Scene1/4.png"));
                ;

                continue;
            }
            stackFont.push(GameImage.get("/Picture/Scene1/ ("+i+").png"));
        }
        for (int i = 5; i >0; i--) {

            stackPic.push(GameImage.get("/Picture/Scene1/pic"+i+".jpg"));
        }
        map.put("scene1-C", GameImage.get("/Picture/scene1初始碳.png"));
        map.put("scene1-Sheep", GameImage.get("/Picture/cow.png"));
        map.put("scene1-background", GameImage.get("/Picture/Scene1/场景.png"));
        map.put("scene1-speak", GameImage.get("/Picture/对话框.png"));
        map.put("npc",GameImage.get("/Picture/Scene1/碳小精灵.png"));
        map.put("聊天框",GameImage.get("/Picture/Scene1/聊天框.png"));

        map.put("箭头",GameImage.get("/Picture/Scene1/箭头2.png"));
        map.put("grass",GameImage.get("/Picture/Scene1/草.png"));


    }
}
